package org.example.ruoxing_admin_springboot3.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.example.ruoxing_admin_springboot3.dao.VerificationCodeDao;

import java.util.List;
public interface VerificationCodeMapper extends BaseMapper<VerificationCodeDao> {
    /**
     * @description 查询全部验证码
     * @author 莫若省
     * @createTime 2024/5/9
    */
    List<VerificationCodeDao> selectVerificationCodeAll();
    /**
     * @description 根据id查询验证码
     * @author 莫若省
     * @createTime 2024/5/9
    */
    VerificationCodeDao selectVerificationCodeById(String verificationCodeId);
    /**
     * @description 新增验证码
     * @author 莫若省
     * @createTime 2024/5/9
    */
    int insertVerificationCode(VerificationCodeDao verificationCodeDao);
    /**
     * @description 根据id删除验证码
     * @author 莫若省
     * @createTime 2024/5/9
    */
    void deleteVerificationCodeById(String verificationCodeId);
}
